
list = []
list.append(int(input()))
list.append(int(input()))
list.append(int(input()))
print(list)

for i in range(0,len(list)):
    for j in range(0,len(list)-i-1):
        if list[j]>list[j+1]:
            #list[j],list[j+1] = list[j+1],list[j]
            t = list[j+1]
            list[j+1] = list[j]
            list[j] = t
print(list)